package com.ruoyi.user.service.impl;

import com.ruoyi.common.core.cg.pojo.Location;
import com.ruoyi.user.mapper.LocationMapper;
import com.ruoyi.user.service.LocationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LocationServiceImpl implements LocationService {
    @Autowired
    private LocationMapper mapper;
    @Override
    public Integer findLocation(Location location) {
        return mapper.findLocation(location);
    }

    @Override
    public void addLocation(Location location) {
        mapper.addLocation(location);
    }
}
